/**
 *   建筑 model
 *   private Integer objId;
 *   private String author;
 *   private String className; 
 *   private String objProdarea;
 *   private String objNo;
 *   private String objName;
 *   private String generateEra;
 *   private String description;
 *   private Integer objNumber;
 *   private String note;
 *   private String keywords;
 *   private Integer id;
 *   private String nameCn;
 *   private String nameUk;
 *   private String briefCn;
 *   private String namehistory;
 *   private String areascene;
 *   private String palacegrade;
 *   private String shapesdesc;
 *   private String buildingdata;
 *   private String nowuse;
 *   private String introduction;
 *   private String introductionUk;
 *   private Date lastUpdate;
 */
Ext.define('DCApp.model.Building', {
    extend: 'DCApp.model.Base',
    idProperty: 'objId',
    fields: [            
    	{name: 'objId', type: 'int'},
        {name: 'author'},        
        {name: 'className'},
        {name: 'objProdarea'},
        {name: 'objNo'},
        {name: 'objName'},
        {name: 'generateEra'},
        {name: 'description'},        
        {name: 'note'},
        {name: 'keywords'},        
        {name: 'nameCn'},
        {name: 'nameUk'},
        {name: 'briefCn'},
        {name: 'namehistory'},
        {name: 'areascene'},
        {name: 'palacegrade'},
        {name: 'shapesdesc'},
        {name: 'buildingdata'},
        {name: 'nowuse'},
        {name: 'introduction'},
        {name: 'introductionUk'},
//		{name: 'id', type: 'int'},
		{name: 'objNumber', type: 'int'},
		{name: 'lastUpdate', type: 'date',  dateFormat: 'n/j h:ia'}
	],
    manyToMany:['Image','Thesis','Doc','Relic','CeAttachment']
});